<?php
  $yhendus=new mysqli("localhost", "if13", "ifikad", "if13_arthur");
  if(isSet($_REQUEST["etteasted"])){
	$kask=$yhendus->prepare("INSERT INTO etteasted (etteasted, syndmused, kellaaeg) VALUES (?, ?, ?)");
	$kask->bind_param("sss", $_REQUEST["etteasted"], $_REQUEST["syndmused"], $_REQUEST["kellaaeg"]);
	$kask->execute();
}
$yhendus->close();